number = 2  # 从2开始，0和1不是素数

while number <= 100:
    is_prime = True
    for i in range(2, int(number ** 0.5) + 1):
        if number % i == 0:
            is_prime = False
            break  # 一旦能整除，就不是素数，退出循环
    if is_prime:
        print(number)
    number += 1
